|
PHY MAKE 6DOF JOINT
Make a new 6DOF joint.
PHY MAKE 6DOF JOINT ID, a, b
ID
Integer
identification number of the joint, joint ID numbers are unique
a
Integer
first rigid body object to be attached to the joint, must be a valid rigid body
b
Integer
second rigid body object to be attached to the joint, must be a valid rigid body
This is only the first step in creating a 6DOF joint. After this command has been called then it is necessary to set properties of the joint such as local and global anchors. Once all properties have been set the joint can be built using phy build 6dof joint. It is only when the joint has been built that it gets entered into the simulation.
Note that joint ID numbers are unique and not shared with any other ID ranges therefore it is perfectly valid to have a model loaded into ID 1 and a joint with an ID of 1.
No example code is provided for this command
|